using System;
public struct Dimensions {
    public double Length {get; set;}
    public double Width {get; set;}

    public Dimensions() {
        Length = 10;
        Width = 10;
    }
    public Dimensions(double length, double width) {
        Length = length;
        Width = width;
    }
    public double Diagonal => Math.Sqrt(Length * Length + Width * Width);
}